<template>
  <div class="base-layout">
    <div class="top">
      <div class="left">
        <div class="logo"></div>
        <div class="back"></div>
        <div class="search"></div>
      </div>
      <div class="right">
        <div class="switch"></div>
      </div>
    </div>
    <div class="main">
      <div class="left"></div>
      <div class="right"></div>
    </div>
    <div class="bottom"></div>
  </div>
</template>

<script>
export default {
  name: 'Home'
}
</script>

<style lang="scss">
.base-layout{
  background-color: #eee;
  height: 100vh;
  display: flex;
  flex-direction: column;
  .top{
    height: 50px;
    display: flex;
    justify-content: space-between;
    .left{
      width: 600px;
      display: flex;
      .logo{
        flex: 2;
      }
      .back{
        flex: 1;
      }
      .search{
        flex: 3;
      }
    }
    .right{
      width: 100px;
      .switch{
        height: 100%;
      }
    }
  }
  .main{
    height: 600px;
    display: flex;
    .left{
      width: 200px;
    }
    .right{
      flex: 1;
    }
  }
  .bottom{
    height: 75px;
  }
}
</style>
